#include <stdio.h>
int main()
{
	int num,a,b,c;
	printf("Please input the number:");
	scanf("%d",&num);
	a=num/100;
	b=(num-100*a)/10;
	c=num-100*a-10*b;
	a+=b*10+c*100;
	printf("The result is %d\n",a);
	return 0;
	
}
